package com.ship.service;

import com.ship.commens.Result;
import com.ship.dto.ShipDto;
import com.ship.dto.ShipSaveDto;
import com.ship.model.Ship;


/**
* @author Lucky Boy
* @description 针对表【ship】的数据库操作Service
* @createDate 2024-07-09 15:41:26
*/
public interface ShipService {

    Result findShipsBySearch(ShipDto shipDto);

    Result saveShip(ShipSaveDto shipSaveDto);

    Result removeOne(Integer id);

    Result removeMany(String ids);

    Result modifyShip(ShipSaveDto shipSaveDto);

    Result findShipUserList(Long id);

    Result findAllShip();

}
